package org.tgit.gateway.domain;

import java.util.Date;
import java.util.Set;

/**
 *  API部署服务器信息列表
 * @author fanzaijun
 * 2017年6月27日
 */
public class APIServerInfo {
    // APIID
    private String apiId;
    // method
    private String method;
    // 访问URI
    private String accessUri;
    // 部署URI
    private String uri;
    // 部署服务器HOST
    private String host;
    // 最大并发量
    private long maxConcurrency;
    // 申请开始时间
    private Date beginAccTime;
    // 申请结束时间
    private Date endAccTime;
    // 当前API在校内的状态
    private int status;
    // 部署服务器的ID
    private String serverId;
    // 部署服务器的ID
    private Set<String> serverIds;

    public String getApiId() {
        return apiId;
    }
    public void setApiId(String apiId) {
        this.apiId = apiId;
    }
    public String getAccessUri() {
        return accessUri;
    }
    public void setAccessUri(String accessUri) {
        this.accessUri = accessUri;
    }
    public String getUri() {
        return uri;
    }
    public void setUri(String uri) {
        this.uri = uri;
    }
    public String getHost() {
        return host;
    }
    public void setHost(String host) {
        this.host = host;
    }
    public long getMaxConcurrency() {
        return maxConcurrency;
    }
    public void setMaxConcurrency(long maxConcurrency) {
        this.maxConcurrency = maxConcurrency;
    }
    public Date getBeginAccTime() {
        return beginAccTime;
    }
    public void setBeginAccTime(Date beginAccTime) {
        this.beginAccTime = beginAccTime;
    }
    public Date getEndAccTime() {
        return endAccTime;
    }
    public void setEndAccTime(Date endAccTime) {
        this.endAccTime = endAccTime;
    }
    public int getStatus() {
        return status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    public String getServerId() {
        return serverId;
    }
    public void setServerId(String serverId) {
        this.serverId = serverId;
    }
    
    public void setServerIds(Set<String> serverIds) {
		this.serverIds = serverIds;
	}
    public Set<String> getServerIds() {
		return serverIds;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
    
}
